import { Vector3 } from '../Math/Vector3'
import { Material } from './Material'
// 发光纹理
export class StraightlineMaterial extends Material {
    readonly type: string
    brightness: number
    color: Vector3
    constructor(color: Vector3 = new Vector3(1,0,0), brightness: number = 1) {
        super()
        this.type = 'StraightlineMaterial'
        this.color = color
        this.brightness = brightness
    }
    setbrightness(brightness: number) {
        this.brightness = brightness
    }
}